﻿CREATE TABLE [dbo].[TraceDetails_File](
	[RowNumber] [bigint] IDENTITY(0,1) NOT NULL,
	[TraceFileId] [bigint] NOT NULL,
	[EventClass] [nvarchar](250) NULL,
	[TextData] [ntext] NULL,
	[ApplicationName] [nvarchar](128) NULL,
	[NTUserName] [nvarchar](128) NULL,
	[LoginName] [nvarchar](128) NULL,
	[CPU] [int] NULL,
	[Reads] [bigint] NULL,
	[Writes] [bigint] NULL,
	[Duration] [bigint] NULL,
	[ClientProcessID] [int] NULL,
	[SPID] [int] NULL,
	[StartTime] [datetime] NULL,
	[EndTime] [datetime] NULL,
	[ServerName] [nvarchar](256) NULL,
	[DatabaseName] [nvarchar](256) NULL,
	[ObjectName] [nvarchar](256) NULL,
	[HostName] [nvarchar](256) NULL,
 CONSTRAINT [PK__TraceDet__AAAC09D82A4B4B5E] PRIMARY KEY CLUSTERED 
(
	[RowNumber] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
